package com.g001.model.powers;

import org.newdawn.slick.GameContainer;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.state.StateBasedGame;

import com.g001.enums.BlockType;

public abstract class Action {

	protected BlockType type; 
	protected int bonus = 1; // number of the same deleted
	
	public abstract void render(GameContainer container, StateBasedGame game, Graphics g) throws SlickException;
	public abstract void update(GameContainer container, StateBasedGame game, int delta) throws SlickException;
	
	public abstract void action();
	public abstract boolean isFinished();
	
	public BlockType getType() {
		return type;
	}
	public int getBonus() {
		return bonus;
	}
	public abstract void setBonus(int bonus);
 
}
